﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace gt.IdentityServer.Data
{
    /// <summary>
    /// 用户组
    /// </summary>
    public class AppUserGroup
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 组名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 组权限
        /// </summary>
        public List<AppGroupRoleMapping> RoleMappings { get; set; }
        /// <summary>
        /// 组成员
        /// </summary>
        public List<AppUser> Users { get; set; }
    }
}
